package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfActivityEntryDao;
import com.wfcm.entity.WfActivityEntryEntity;
import com.wfcm.service.WfActivityEntryService;



@Service("wfActivityEntryService")
public class WfActivityEntryServiceImpl implements WfActivityEntryService {
	@Autowired
	private WfActivityEntryDao wfActivityEntryDao;
	
	@Override
	public WfActivityEntryEntity queryObject(Integer id){
		return wfActivityEntryDao.queryObject(id);
	}
	
	@Override
	public List<WfActivityEntryEntity> queryList(Map<String, Object> map){
		return wfActivityEntryDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfActivityEntryDao.queryTotal(map);
	}
	
	@Override
	public void save(WfActivityEntryEntity wfActivityEntry){
		wfActivityEntryDao.save(wfActivityEntry);
	}
	
	@Override
	public void update(WfActivityEntryEntity wfActivityEntry){
		wfActivityEntryDao.update(wfActivityEntry);
	}
	
	@Override
	public void delete(Integer id){
		wfActivityEntryDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfActivityEntryDao.deleteBatch(ids);
	}
	
}
